using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace BusinessObjects
{

    public class HinhThucHopDong :BaseObject
	{
		private string _maQuanLy = String.Empty;
		private string _tenHinhThucHopDong = String.Empty;
		private bool _coThoiHan;
		private byte _soThang;
		
        #region Public Properties
		public string MaQuanLy
		{
            get
            {
                return _maQuanLy;
            }
            set
            {
                if (_maQuanLy == value)
                    return;
                _maQuanLy = value;
                OnPropertyChanged("MaQuanLy");
            }
		}

		public string TenHinhThucHopDong
		{
            get
            {
                return _tenHinhThucHopDong;
            }
            set
            {
                if (_tenHinhThucHopDong == value)
                    return;
                _tenHinhThucHopDong = value;
                OnPropertyChanged("TenHinhThucQuanLy");
            }
		}

		public bool CoThoiHan
		{
            get
            {
                return _coThoiHan;
            }
            set
            {
                if (_coThoiHan == value)
                    return;
                _coThoiHan = value;
            }
		}

		public byte SoThang
		{
            get
            {
                return _soThang;
            }
            set
            {
                if (_soThang == value)
                    return;
                _soThang = value;
                OnPropertyChanged("SoThang");
            }
		}
		#endregion
		
	}
	
}

